
<div class="wrapMain">
	<div id="row">
		    <div class="col-md-8"> 
        <?php 
    	$title="";
		if(isset($_GET['ext'])){
			
			 switch($_GET['ext']){
			 	case 'date': $title='Mới Đăng ';break;
				case 'views': $title='Xem Nhiều ';  break;
				case 'comments': $title='Comment ';  break;
				case 'likes': $title='Likes '; break;
				case 'sochuong': $title='Số Chương ';  break;
				case 'hoanthanh': $title=' Truyện Full ';break;
			 }
		}
		?>
  
                    	<?php if($_SESSION['mobile']==0){ echo '<ul class="breadcrumb-arrow" xmlns:v="http://rdf.data-vocabulary.org/#">' ;}else{ echo '<ul class="breadcrumb">';}?>
                       <li typeof="v:Breadcrumb"><a rel="v:url" property="v:title" href="<?php echo HOME; ?>"><i class="fa fa-home"></i> Home</a></li>
                       <li typeof="v:Breadcrumb"><a rel="v:url" property="v:title" href="<?php echo MANGA_URL; ?>">Truyện tranh</a></li>
                        <li typeof="v:Breadcrumb"><a rel="v:url" property="v:title" href="<?php echo url_anime_theloai($data['theloai']['id'],$data['theloai']['alias']); ?>"><?php echo $data['theloai']['name'] ?></a></li> 						 <?php if($title!=""){ echo "  <li class='active'><a href='".url_anime_theloai($data['theloai']['id'],$data['theloai']['alias'])."/".$_GET['ext']."'>$title</a></li>";	  }?> 
                        </ul>
                    	<div class="clearfix"></div>
                      
                        
                        
                        
		   <div class="row">
        <div class="col-md-6">
        <?php echo $data['nav']; ?>
        </div>
        <div class="col-md-6" style="margin-bottom:0px; padding-top:7px">
        <?php 
		$bu2=url_anime_theloai($data['theloai']['id'],$data['theloai']['alias']);
		$bu=url_anime_theloai($data['theloai']['id'],$data['theloai']['alias']).'/'; ?>
        <div class="btn-group pull-right">
  <button type="button" class="btn btn-warning dropdown-toggle" data-toggle="dropdown">
   Xem Theo <span class="caret"></span>
  </button>
  <ul class="dropdown-menu" role="menu">
   <li><a href="<?php echo $bu2 ?>">Mới Cập Nhật</a></li>
    <li><a href="<?php echo $bu ?>date">Mới Đăng</a></li>
    <li><a href="<?php echo $bu ?>views">View</a></li>
    <li><a href="<?php echo $bu ?>likes">Like</a></li>
     <li><a href="<?php echo $bu ?>comments">Comment</a></li>
    <li><a href="<?php echo $bu ?>sochuong">Số Chương</a></li>
    <li><a href="<?php echo $bu ?>hoanthanh">Hoàn Thành</a></li>
   
  </ul>
</div>
        </div>
        </div> <!-- End of Row -->
        <div style="height:20px"></div>
  	<?php render_item_anime2($data['info'],1); ?>
	<?php echo $data['nav']; ?>
</div> <!-- COL MD 9 -->
  
                    <div class="col-md-4">
             <?php  //render_fanpage(); ?>
<!-- START Render TRUYEN category -->	<?php truyen_render_theloai(); ?>	
<!-- START Render TRUYEN View -->	<?php truyen_render_view(); ?>	
<!-- START RENDER video comment --> <?php render_pick(); ?> <!-- End RENDER video comment --> 
<!-- START RENDER video Xem Nhieu -->     <?php	truyen_render_right_comment(); ?>   <!-- end video xem nhieu -->
                	</div> <!-- End col -md -4 right -->

</div><!-- end row -->
</div><!-- end wrapMain -->
<div class="clearfix"></div>